<include file="Public:header" />
<div class="container main"> <include file="Public:left" />
  <div class="w790">
  <script>
  	function uploaded(path){
		$("#img_url").attr("src",'__PUBLIC__'+path);
		$("input[name='img_url']").val(path);
	}
	function del_img(){
		if(confirm('您确定要删除图片吗?')){
			var file=$("input[name='img_url']").val();
			$.post("{:U('delImgBypath')}",{'path':file},function(data){
				$("input[name='img_url']").val('');
				$("#img_url").attr('src','');
			});
		}else{
			return false;
		}
	}
	//切换栏目方式
	function parseCateType(e){
		if($(e).val()==1){
			$('#pagesize').show();
		}else{
			$('#pagesize').hide();
		}
	}
	function after(e){
	    $(e).parent().parent().parent().parent().parent('li').after($(e).parent().parent().parent().parent().parent('li').prev());
    }
    function append(e){
	    $(e).parent().parent().parent().parent().parent('li').next().after($(e).parent().parent().parent().parent().parent('li'));
    }
	function delnews(e){
		$(e).parent().parent().parent().parent().parent().remove();
	}
	function addnews(){
		var html = $('#copyHTML').html();
		$(html).appendTo('#replyList ul');
	}
	
	
	function getExtends(e){
		var v = $('#extendsList'+$(e).val()).val();
		$('#extends').val(v);
	}
  </script>
  <style>
  	#replyList ul li{margin-top:5px; background:#eee; padding:8px; width:700px;}
	.delnews{display:block; width:30px; font-size:20px; height:30px; border-radius:15px; background:#f00; color:#fff; line-height:30px; text-align:center;}
  </style>

 <div class="h"><a href="{:U('index')}" class="btn btn-info"><i class="glyphicon glyphicon-circle-arrow-left"></i> 返回</a>
 
 </div>
    <form class="checkoutform1 form-horizontal" action=" {:U('exchangegoods')} " method="post" enctype="multipart/form-data">
      <div class="table_ container">
      
     <div class="form-group">
      <label class="col-sm-2 control-label">换货管理</label>
      <div class="col-sm-10">
         <input class="form-control" datatype="n" value="" name="remark" type="text" placeholder="请输入操作理由">
       </div>  
         <input class="form-control" value="{$state}" name="state" type="hidden" >
         <input class="form-control" value="{$sale_id}" name="sale_id" type="hidden" >
         <input class="form-control" value="{$thtype}" name="thtype" type="hidden" >

     </div>
     

<if condition="$thstatus eq 3">

         <div class="form-group">
         <label class="col-sm-2 control-label">快递单号</label>
          <div class="col-sm-10">
             <input class="form-control" datatype="n" value="" name="couriernumber" type="text" placeholder="请输入退货快递单号">
          </div>
       </div>
       
       <div class="form-group">
       <label class="col-sm-2 control-label">快递公司</label>
          <div class="col-sm-10">
             <input class="form-control" datatype="n" value="" name="courier" type="text" placeholder="请填写快递公司"> 
          </div>
       </div>


</if>        
      </div><div class="pages"><button type="submit" class="btn btn-success">确认</button></div>
      
    </form>
  </div>
 <script>
/* $(".checkoutform1").Validform(); */
 </script>
  <div class="clear"></div>
</div>

</body></html>